/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.MsoPresetTextEffect;
import com.bedatadriven.mso.core.MsoPresetTextEffectShape;
import com.bedatadriven.mso.core.MsoTextEffectAlignment;
import com.bedatadriven.mso.core.MsoTriState;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.TextEffectFormat*/
public class TextEffectFormat extends JavaScriptObject {

	protected TextEffectFormat() { }
	public native final Object getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final void toggleVerticalText()/*-{
		this.ToggleVerticalText( );
	}-*/;

	protected native final int _getAlignment()/*-{
		return this.Alignment;
	}-*/;

	public final MsoTextEffectAlignment getAlignment(){
		return MsoTextEffectAlignment.valueOf(_getAlignment());
	}
	protected native final void _setAlignment( int value)/*-{
		this.Alignment = value;
	}-*/;

	public final void setAlignment(MsoTextEffectAlignment value){
		_setAlignment(value.getValue());
	}
	protected native final int _getFontBold()/*-{
		return this.FontBold;
	}-*/;

	public final MsoTriState getFontBold(){
		return MsoTriState.valueOf(_getFontBold());
	}
	protected native final void _setFontBold( int value)/*-{
		this.FontBold = value;
	}-*/;

	public final void setFontBold(MsoTriState value){
		_setFontBold(value.getValue());
	}
	protected native final int _getFontItalic()/*-{
		return this.FontItalic;
	}-*/;

	public final MsoTriState getFontItalic(){
		return MsoTriState.valueOf(_getFontItalic());
	}
	protected native final void _setFontItalic( int value)/*-{
		this.FontItalic = value;
	}-*/;

	public final void setFontItalic(MsoTriState value){
		_setFontItalic(value.getValue());
	}
	public native final String getFontName()/*-{
		return this.FontName;
	}-*/;

	public native final void setFontName(String value)/*-{
		this.FontName = value;
	}-*/;

	public native final float getFontSize()/*-{
		return this.FontSize;
	}-*/;

	public native final void setFontSize(float value)/*-{
		this.FontSize = value;
	}-*/;

	protected native final int _getKernedPairs()/*-{
		return this.KernedPairs;
	}-*/;

	public final MsoTriState getKernedPairs(){
		return MsoTriState.valueOf(_getKernedPairs());
	}
	protected native final void _setKernedPairs( int value)/*-{
		this.KernedPairs = value;
	}-*/;

	public final void setKernedPairs(MsoTriState value){
		_setKernedPairs(value.getValue());
	}
	protected native final int _getNormalizedHeight()/*-{
		return this.NormalizedHeight;
	}-*/;

	public final MsoTriState getNormalizedHeight(){
		return MsoTriState.valueOf(_getNormalizedHeight());
	}
	protected native final void _setNormalizedHeight( int value)/*-{
		this.NormalizedHeight = value;
	}-*/;

	public final void setNormalizedHeight(MsoTriState value){
		_setNormalizedHeight(value.getValue());
	}
	protected native final int _getPresetShape()/*-{
		return this.PresetShape;
	}-*/;

	public final MsoPresetTextEffectShape getPresetShape(){
		return MsoPresetTextEffectShape.valueOf(_getPresetShape());
	}
	protected native final void _setPresetShape( int value)/*-{
		this.PresetShape = value;
	}-*/;

	public final void setPresetShape(MsoPresetTextEffectShape value){
		_setPresetShape(value.getValue());
	}
	protected native final int _getPresetTextEffect()/*-{
		return this.PresetTextEffect;
	}-*/;

	public final MsoPresetTextEffect getPresetTextEffect(){
		return MsoPresetTextEffect.valueOf(_getPresetTextEffect());
	}
	protected native final void _setPresetTextEffect( int value)/*-{
		this.PresetTextEffect = value;
	}-*/;

	public final void setPresetTextEffect(MsoPresetTextEffect value){
		_setPresetTextEffect(value.getValue());
	}
	protected native final int _getRotatedChars()/*-{
		return this.RotatedChars;
	}-*/;

	public final MsoTriState getRotatedChars(){
		return MsoTriState.valueOf(_getRotatedChars());
	}
	protected native final void _setRotatedChars( int value)/*-{
		this.RotatedChars = value;
	}-*/;

	public final void setRotatedChars(MsoTriState value){
		_setRotatedChars(value.getValue());
	}
	public native final String getText()/*-{
		return this.Text;
	}-*/;

	public native final void setText(String value)/*-{
		this.Text = value;
	}-*/;

	public native final float getTracking()/*-{
		return this.Tracking;
	}-*/;

	public native final void setTracking(float value)/*-{
		this.Tracking = value;
	}-*/;

}
